package org.zzh.dao.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.zzh.domain.cargo.contract.CoContract;

import java.util.List;

@Mapper
public interface CoContractMapper {

    List<CoContract> list(@Param("name") String name, @Param("companyId") String companyId);

    CoContract  findById(String id);


    void add(CoContract contract);

    void update(CoContract contract);

    void deleteIds(@Param("ids") String[] ids);
}
